package com.nz2004.mapper;

import org.apache.ibatis.annotations.Param;

public interface UserRoleMapper {
    Integer[] queryRolesByUserId(@Param("userId") Integer userId);

    int cleanByUserId(@Param("userId") Integer userId);

    int insertRoleByRoleId(@Param("id") Integer id,@Param("userId") Integer userId);
}
